//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package common;

public class GlobalID {
    public GlobalID() {
    }

    public static int getClassID(int id) {
        long a = 351843721L * (long)id;
        int aa = (int)(a >>> 32);
        return (aa >> 13) + (aa >>> 31);
    }

    public static int getInstanceID(int id) {
        return id - getClassID(id) * 100000;
    }

    public static int create(int classId, int instanceId) {
        return classId * 100000 + instanceId;
    }
}
